<?php
class Order extends Controller {
	function Order(){
		parent::Controller();
		$this->load->helper(array('url','function','common'));
		$this->load->library('form_validation');//表单验证
 		//调用前台公用Model
 		$this->load->model('Mhome');
	}
	
	//相关函数：redirecter($msg,$url,$delay=3);
	
	//订单状态查询
	function search(){
		load_view("search",$this->data());		
	}

	//我的订单
	function my(){
	}
	
	//历史订单
	function history(){
	}
	
	//基本页面数据basedata
	function data(){
		/*--------------------------------左侧部分【left】---------------------------------*/
		$data['lastes_news']=$this->Mhome->lastes_news($num=8);
		$data['banks']=$this->Mhome->banks();
		/**/
		$data['flag']=NULL;
		return $data;
	}
	
}//end C_home
/* End of file home.php */
/* Location: ./system/application/controllers/home.php */